package com.banch.cloud.seata.storage.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StorageDao {


    /**
     * //扣减库存信息
     *
     * @author banch
     * @date 2020/7/30
     * @param
     * @return
     * @throw
     **/
    void decrease(@Param("productId") Long productId, @Param("count") Integer count);

}